/* *******************************************
   ****       JBEvaluator.h               ****
   ******************************************* */
#ifndef JBEVALUATOR_H
#define JBEVALUATOR_H

const int ROYAL_FLUSH		= 9;
const int STRAIGHT_FLUSH	= 8;
const int FOUR_KIND		= 7;
const int FULL_HOUSE		= 6;
const int FLUSH			= 5;
const int STRAIGHT		= 4;
const int THREE_KIND		= 3;
const int TWO_PAIR		= 2;
const int JACK_BETTER		= 1;
const int NOTHING		= 0;

class JBEvaluator
{
public:
	JBEvaluator(void);
	~JBEvaluator(void);

	int evaluate(int *);
	int evaluate(void);
	
private:
	int rankHash[4];
	int bitCount[8192];
	int straightData[8192];
	int *cardData1[52];
	int cardData2[52];
};

#endif
